-
Home
-
Vitepos – Point of Sale (POS) for WooCommerce
-
3.3.0 (latest)
-
Code
-
Classes
- API_Base
| Total Complexity |
46 |
| Dependencies |
8 |
| Dependents |
0 |
| Total lines |
431 |
| Lines of code |
163 |
| Logical lines of code |
86 |
| Comment lines |
221 |
| Methods |
24 |
| Properties |
14 |
Methods 24
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| load_payload() |
A |
49 |
10 |
29 |
| set_outlet_location() |
S |
59 |
5 |
16 |
| register_rest_route() |
S |
51 |
4 |
27 |
| __construct() |
S |
54 |
2 |
21 |
| get_outlet_obj() |
S |
70 |
3 |
6 |
| get_counter_obj() |
S |
70 |
3 |
6 |
| get_payload() |
S |
78 |
2 |
3 |
| current_outlet_filter() |
S |
81 |
1 |
3 |
| query_search_filter() |
S |
82 |
1 |
3 |
| set_vite_pos_request() |
S |
80 |
1 |
3 |
| set_outlet() |
S |
71 |
1 |
6 |
| get_outlet_id() |
S |
82 |
1 |
3 |
| get_counter_id() |
S |
82 |
1 |
3 |
| get_current_user_id() |
S |
82 |
1 |
3 |
| add_error() |
S |
71 |
1 |
5 |
| filter_for_api() |
S |
91 |
1 |
2 |
| add_info() |
S |
71 |
1 |
5 |
| add_debug() |
S |
78 |
1 |
3 |
| add_warning() |
S |
71 |
1 |
5 |
| routes() |
S |
100 |
1 |
0 |
| set_api_base() |
S |
100 |
1 |
0 |
| __destruct() |
S |
80 |
1 |
3 |
| set_response() |
S |
74 |
1 |
5 |
| set_route_permission() |
S |
81 |
1 |
3 |